﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004F1 RID: 1265
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ExchangeHcoinCsReq : IMessage<ExchangeHcoinCsReq>, IMessage, IEquatable<ExchangeHcoinCsReq>, IDeepCloneable<ExchangeHcoinCsReq>, IBufferMessage
	{
		// Token: 0x17001062 RID: 4194
		// (get) Token: 0x0600393F RID: 14655 RVA: 0x0009D8FC File Offset: 0x0009BAFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ExchangeHcoinCsReq> Parser
		{
			get
			{
				return ExchangeHcoinCsReq._parser;
			}
		}

		// Token: 0x17001063 RID: 4195
		// (get) Token: 0x06003940 RID: 14656 RVA: 0x0009D903 File Offset: 0x0009BB03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ExchangeHcoinCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001064 RID: 4196
		// (get) Token: 0x06003941 RID: 14657 RVA: 0x0009D915 File Offset: 0x0009BB15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ExchangeHcoinCsReq.Descriptor;
			}
		}

		// Token: 0x06003942 RID: 14658 RVA: 0x0009D91C File Offset: 0x0009BB1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeHcoinCsReq()
		{
		}

		// Token: 0x06003943 RID: 14659 RVA: 0x0009D924 File Offset: 0x0009BB24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeHcoinCsReq(ExchangeHcoinCsReq other) : this()
		{
			this.num_ = other.num_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003944 RID: 14660 RVA: 0x0009D949 File Offset: 0x0009BB49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExchangeHcoinCsReq Clone()
		{
			return new ExchangeHcoinCsReq(this);
		}

		// Token: 0x17001065 RID: 4197
		// (get) Token: 0x06003945 RID: 14661 RVA: 0x0009D951 File Offset: 0x0009BB51
		// (set) Token: 0x06003946 RID: 14662 RVA: 0x0009D959 File Offset: 0x0009BB59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Num
		{
			get
			{
				return this.num_;
			}
			set
			{
				this.num_ = value;
			}
		}

		// Token: 0x06003947 RID: 14663 RVA: 0x0009D962 File Offset: 0x0009BB62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ExchangeHcoinCsReq);
		}

		// Token: 0x06003948 RID: 14664 RVA: 0x0009D970 File Offset: 0x0009BB70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ExchangeHcoinCsReq other)
		{
			return other != null && (other == this || (this.Num == other.Num && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003949 RID: 14665 RVA: 0x0009D9A0 File Offset: 0x0009BBA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Num != 0U)
			{
				num ^= this.Num.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600394A RID: 14666 RVA: 0x0009D9DF File Offset: 0x0009BBDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600394B RID: 14667 RVA: 0x0009D9E7 File Offset: 0x0009BBE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600394C RID: 14668 RVA: 0x0009D9F0 File Offset: 0x0009BBF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Num != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Num);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600394D RID: 14669 RVA: 0x0009DA24 File Offset: 0x0009BC24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Num != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Num);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600394E RID: 14670 RVA: 0x0009DA62 File Offset: 0x0009BC62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ExchangeHcoinCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Num != 0U)
			{
				this.Num = other.Num;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600394F RID: 14671 RVA: 0x0009DA93 File Offset: 0x0009BC93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003950 RID: 14672 RVA: 0x0009DA9C File Offset: 0x0009BC9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Num = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001680 RID: 5760
		private static readonly MessageParser<ExchangeHcoinCsReq> _parser = new MessageParser<ExchangeHcoinCsReq>(() => new ExchangeHcoinCsReq());

		// Token: 0x04001681 RID: 5761
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001682 RID: 5762
		public const int NumFieldNumber = 2;

		// Token: 0x04001683 RID: 5763
		private uint num_;
	}
}
